$(function(){
	getUserId();
	console.log('wo')
	console.log(userId)
	var data = {'userId':userId};
	$.post(constans.globalUrl+'/user/getMyInfo',data,function(data){
		console.log(data);		
		$('.userNick').html(data.userNick);
		$('.userMob').html(data.userMob);
		if(data.rnAuth == 1){
			$('.userRn').html(data.userRn)	;	
		}else{
			$('#userRn').hide();
		}
	})
	$('.exit').click(function(){
//		$.cookie('vjinshe', '', { expires: -1 });
		$.cookie("vjinshe",{path:"/"});
		$.cookie("vjinshe-refreshToken",{path:"/"});
		location.href = constans.htmlUrl+'/index.html';
	})
})
